Employee Database Demonstration


DYNAMIC Scripting

DYNAMIC vs. STATIC Scripting

The STATIC method references files directly, without being processed by the FileMaker Pro Web Companion. The files include all the details needed to display the HTML properly. There can be no CDML replacement tags in them. Look at the example and notice how the STATIC part of form explicitly specifies the contents of the form elements (e.g., The popup-menus have all their options specified).

Using the DYNAMIC method, CDML commands are processed by the FileMaker Pro Web Companion to query a database and generate HTML for such items as popup-menus, check boxes, radio buttons, etc... To have the Web Companion process a DYNAMIC page, you include CDML commands in the URL to the file, for example:

http://www.claris.com/FMPro?-db=Employees.fp3&-format=example.htm&-view

Note that we've requested the Web Companion to process the page by specifying the FMPro keyword. Examine the code in the example file for a detailed explanation.